home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3993 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borland Turbo C
  5. Date: 31 Jan 1996 06:53:34 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4envpeINN29h@keats.ugrad.cs.ubc.ca>
  8. References: <4dlo30$juu@lugb.latrobe.edu.au> <8B994AE.02C7001C6C.uuout@sourcebbs.com>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <8B994AE.02C7001C6C.uuout@sourcebbs.com>,
  12. DAVID MOHORN <david.mohorn@sourcebbs.com> wrote:
  13. >
  14. >CN>Is there such a thing as a version of Borland Turbo C which is bug free or
  15. >  >is Borland just friggin useless? I am getting compile time errors in the
  16. >  >supplied header files. Any one else come across this problem?
  17. >
  18. >Most of the time when someone complains about a compiler being broken,
  19. >its usually their code!  You obviously don't know what you're doing.
  20. >Care to post a fragment of the code in question?
  21.  
  22. Borland C is broken. The programmer who is doing the Windows portion of a
  23. project I'm working on has discovered that Borland doesn't even pass arguments
  24. properly. Like if you pass "int" arguments to a function that is
  25. *ANSI prototyped* as having long arguments, it will not do the conversion, and
  26. just bang a bunch  of 16-bit words on the stack. He had to declare temporary
  27. long variables, assign the values into these and then do the call.
  28.  
  29. Duh!
  30.  
  31. Borland's 32-bit compiler also has the worst optimization in the business,
  32. way behind Microsoft C, Watcom, UNIXWare cc, and probably a host of others.
  33. -- 
  34.  
  35.